gsk: Redo the sampling in the profiler
authorMatthias Clasen <mclasen@redhat.com>
Thu, 28 Sep 2017 14:23:12 +0000 (10:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 28 Sep 2017 14:25:49 +0000 (10:25 -0400)
commit767966933da11b626b9d53510b30179c9b1a41f6
tree706fc0c0b7bb142ca95c534da1554c4a32d7df7f
parent4d8e7d71cafd340021d6a965af3bf72e2732bcba
gsk: Redo the sampling in the profiler

Reset the min/max/average counters before calculating,
and only print the values if we have samples. In addition,
print the number of samples.
gsk/gskprofiler.c